package net.pinnoocle.playdao.entity.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;
import net.pinnoocle.playdao.entity.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-19 17:11
 */
@Data
public class SaveShopParams {

    @ApiModelProperty(value = "门店id")
    @NotNull(message = "门店id不能为空",groups = UpdateGroup.class)
    private String shopId;

    @ApiModelProperty("店铺名称")
    @NotNull(message = "店铺名称不能为空")
    private String shopName;

    @ApiModelProperty("登录账号")
    @NotNull(message = "登录账号不能为空")
    private String loginName;

    @ApiModelProperty("店主手机号")
    @NotNull(message = "店主手机号不能为空")
    private String mobile;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("logo")
    private String logo;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("纬度")
    private String latitude;

    @ApiModelProperty("省份名称")
    private String provinceName;

    @ApiModelProperty("城市名称")
    private String cityName;

    @ApiModelProperty("地区名称")
    private String districtName;

    @ApiModelProperty("是否禁用 0 否 1 是")
    private Integer isDisable = 0;
}
